﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020003B3 RID: 947
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DeployRotaterCsReq : IMessage<DeployRotaterCsReq>, IMessage, IEquatable<DeployRotaterCsReq>, IDeepCloneable<DeployRotaterCsReq>, IBufferMessage
	{
		// Token: 0x17000C23 RID: 3107
		// (get) Token: 0x06002A5A RID: 10842 RVA: 0x00074F11 File Offset: 0x00073111
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DeployRotaterCsReq> Parser
		{
			get
			{
				return DeployRotaterCsReq._parser;
			}
		}

		// Token: 0x17000C24 RID: 3108
		// (get) Token: 0x06002A5B RID: 10843 RVA: 0x00074F18 File Offset: 0x00073118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DeployRotaterCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000C25 RID: 3109
		// (get) Token: 0x06002A5C RID: 10844 RVA: 0x00074F2A File Offset: 0x0007312A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DeployRotaterCsReq.Descriptor;
			}
		}

		// Token: 0x06002A5D RID: 10845 RVA: 0x00074F31 File Offset: 0x00073131
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeployRotaterCsReq()
		{
		}

		// Token: 0x06002A5E RID: 10846 RVA: 0x00074F39 File Offset: 0x00073139
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeployRotaterCsReq(DeployRotaterCsReq other) : this()
		{
			this.rotaterData_ = ((other.rotaterData_ != null) ? other.rotaterData_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002A5F RID: 10847 RVA: 0x00074F6E File Offset: 0x0007316E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DeployRotaterCsReq Clone()
		{
			return new DeployRotaterCsReq(this);
		}

		// Token: 0x17000C26 RID: 3110
		// (get) Token: 0x06002A60 RID: 10848 RVA: 0x00074F76 File Offset: 0x00073176
		// (set) Token: 0x06002A61 RID: 10849 RVA: 0x00074F7E File Offset: 0x0007317E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterData RotaterData
		{
			get
			{
				return this.rotaterData_;
			}
			set
			{
				this.rotaterData_ = value;
			}
		}

		// Token: 0x06002A62 RID: 10850 RVA: 0x00074F87 File Offset: 0x00073187
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DeployRotaterCsReq);
		}

		// Token: 0x06002A63 RID: 10851 RVA: 0x00074F95 File Offset: 0x00073195
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DeployRotaterCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.RotaterData, other.RotaterData) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002A64 RID: 10852 RVA: 0x00074FC8 File Offset: 0x000731C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rotaterData_ != null)
			{
				num ^= this.RotaterData.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002A65 RID: 10853 RVA: 0x00075004 File Offset: 0x00073204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002A66 RID: 10854 RVA: 0x0007500C File Offset: 0x0007320C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002A67 RID: 10855 RVA: 0x00075015 File Offset: 0x00073215
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rotaterData_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.RotaterData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002A68 RID: 10856 RVA: 0x00075048 File Offset: 0x00073248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rotaterData_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RotaterData);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002A69 RID: 10857 RVA: 0x00075088 File Offset: 0x00073288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DeployRotaterCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rotaterData_ != null)
			{
				if (this.rotaterData_ == null)
				{
					this.RotaterData = new RotaterData();
				}
				this.RotaterData.MergeFrom(other.RotaterData);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002A6A RID: 10858 RVA: 0x000750DC File Offset: 0x000732DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002A6B RID: 10859 RVA: 0x000750E8 File Offset: 0x000732E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rotaterData_ == null)
					{
						this.RotaterData = new RotaterData();
					}
					input.ReadMessage(this.RotaterData);
				}
			}
		}

		// Token: 0x040010BB RID: 4283
		private static readonly MessageParser<DeployRotaterCsReq> _parser = new MessageParser<DeployRotaterCsReq>(() => new DeployRotaterCsReq());

		// Token: 0x040010BC RID: 4284
		private UnknownFieldSet _unknownFields;

		// Token: 0x040010BD RID: 4285
		public const int RotaterDataFieldNumber = 7;

		// Token: 0x040010BE RID: 4286
		private RotaterData rotaterData_;
	}
}
